.close-base(@top: 0, @icon-font-size: 18px) {
    font-size: @icon-font-size;
    color: @legend-color;
    transition: color @transition-time ease;
    position: relative;
    top: @top;
    &:hover {
        color: @primary-color;
    }
}